﻿using Unity.Cinemachine;
using UnityEngine;

public class CameraManager : MonoBehaviour
{
    [SerializeField] CinemachineCamera cc;

    private void Start()
    {
        
    }


    private void Update()
    {
        
    }


    public void SetFollowTarget(Transform transform)
    {
        CameraTarget ct = new()
        {
            TrackingTarget = transform
        };
        cc.Target = ct;
    }
}
